package com.ruoyi.web.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.mapper.WebBusinessDataMapper;
import com.ruoyi.web.domain.WebBusinessData;
import com.ruoyi.web.service.IWebBusinessDataService;

/**
 * 业务领域模块Service业务层处理
 * 
 * @author li
 * @date 2025-07-31
 */
@Service
public class WebBusinessDataServiceImpl implements IWebBusinessDataService 
{
    @Autowired
    private WebBusinessDataMapper webBusinessDataMapper;

    /**
     * 查询业务领域模块
     * 
     * @param id 业务领域模块主键
     * @return 业务领域模块
     */
    @Override
    public WebBusinessData selectWebBusinessDataById(Long id)
    {
        return webBusinessDataMapper.selectWebBusinessDataById(id);
    }

    /**
     * 查询业务领域模块列表
     * 
     * @param webBusinessData 业务领域模块
     * @return 业务领域模块
     */
    @Override
    public List<WebBusinessData> selectWebBusinessDataList(WebBusinessData webBusinessData)
    {
        return webBusinessDataMapper.selectWebBusinessDataList(webBusinessData);
    }

    /**
     * 新增业务领域模块
     * 
     * @param webBusinessData 业务领域模块
     * @return 结果
     */
    @Override
    public int insertWebBusinessData(WebBusinessData webBusinessData)
    {
        return webBusinessDataMapper.insertWebBusinessData(webBusinessData);
    }

    /**
     * 修改业务领域模块
     * 
     * @param webBusinessData 业务领域模块
     * @return 结果
     */
    @Override
    public int updateWebBusinessData(WebBusinessData webBusinessData)
    {
        return webBusinessDataMapper.updateWebBusinessData(webBusinessData);
    }

    /**
     * 批量删除业务领域模块
     * 
     * @param ids 需要删除的业务领域模块主键
     * @return 结果
     */
    @Override
    public int deleteWebBusinessDataByIds(Long[] ids)
    {
        return webBusinessDataMapper.deleteWebBusinessDataByIds(ids);
    }

    /**
     * 删除业务领域模块信息
     * 
     * @param id 业务领域模块主键
     * @return 结果
     */
    @Override
    public int deleteWebBusinessDataById(Long id)
    {
        return webBusinessDataMapper.deleteWebBusinessDataById(id);
    }
}
